<?php
declare (strict_types = 1);

namespace app\api\model\v1;

use think\Model;

/**
 * @mixin \think\Model
 */
class NotUploadQuestionLog extends Model
{
    //


    public function notUpload(){
        return $this->belongsTo(NotUploadQuestion::class,'not_upload_question_id');
    }
    public function unit(){
        return $this->belongsTo(Unit::class,'parent_unit_id')->field('id,unit_title,attribute');
    }
}
